package com.tinem.platform.module.pojo.vo.network.ip;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author fzh
 * @version v1
 * @program: platform
 * @className IpInfoReq
 * @description
 * @site
 * @company
 * @create 2021-10-28 15:15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("ip 信息请求参数")
public class IpInfoReq implements Serializable {
    @ApiModelProperty(name = "ip", value = "Ip",required = true)
    String ip;
    @ApiModelProperty(name = "cache", value = "是否使用缓存",allowableValues="enable,disable")
    String cache="enable";
    @ApiModelProperty(name = "ip2region", value = "是否使用ip2region",allowableValues="enable,disable")
    String ip2region="enable";
    @ApiModelProperty(name = "ip138", value = "通过那种方式获取ip",allowableValues="ip138,tengxun")
    String type="ip138";
}
